"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("../props.cjs"),o=e.defineComponent({name:"ep-radio",props:t.default,emits:["update:modelValue"],setup(t,{emit:o}){const i=e.computed(()=>t.options.permission>0),r=e.computed({get:()=>t.modelValue,set(e){o("update:modelValue",e)}}),s=e.computed(()=>{if(Array.isArray(t.options.optionItems)){const e=t.options.optionItems.find(e=>e.value===r.value);if(e)return e.label}return"--"});return{fieldModel:r,isDetail:i,fieldModelText:s}}});exports.default=o;
